arm: Adds board_postclk_init to the init_sequence.
authorMarkus Hubig <[email protected]>
Thu, 16 Aug 2012 08:22:08 +0000 (08:22 +0000)
committerAndreas Bießmann <[email protected]>
Tue, 4 Sep 2012 20:05:55 +0000 (22:05 +0200)
The board_postclk_init() function can be used to perform operations
that requires a working timer early within the U-Boot init_sequence.

Signed-off-by: Markus Hubig <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
Signed-off-by: Andreas Bießmann <[email protected]>
arch/arm/lib/board.c

index f1951e883e183c73558403ae2ed959fce3063fca..109a1ac75281aa2effb9bd17bd3fa63f26a0c147 100644 (file)
@@ -241,6 +241,9 @@ init_fnc_t *init_sequence[] = {
        fdtdec_check_fdt,
 #endif
        timer_init,             /* initialize timer */
+#ifdef CONFIG_BOARD_POSTCLK_INIT
+       board_postclk_init,
+#endif
 #ifdef CONFIG_FSL_ESDHC
        get_clocks,
 #endif